package com.cskaoyan.bean.statistics;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description:订单统计数据
 * @author: Jason 805636901@qq.com
 * @create: 2021-10-21-9:44 AM
 */
@Data
@NoArgsConstructor
public class OrderStatisticsData {
    private Double amount;
    private Integer orders;
    private Integer customers;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date day;
    private Double pcr;
}
